﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace JDML.FilterCondition
{
    public class Conditions : Dictionary<String, FieldCondition>
    {
        public void Add(String fieldName, LogicType logicType, ConditionType conditionType)
        {
            FieldCondition condition = new FieldCondition();
            condition.LogicType = logicType;
            condition.Type = conditionType;
            Add(fieldName, condition);
        }
    }
}
